package com.bawei.module_apps.net.model

import com.bawei.library_net.RetrofitManager
import com.bawei.module_apps.net.entity.RequestEntity
import com.bw.apps.net.entity.AppEntity

/**
 * @Author : 
 * @Time : On 2023/7/21 10:18
 * @Description : NetAppService
 */
class NetAppService {
    private val api:NetApi
    init {
        api = RetrofitManager.instance.create(NetApi::class.java)
    }
    suspend fun requestApps(requestEntity: RequestEntity): AppEntity{
        return api.requestApps(requestEntity)
    }
}